package com.dingreading.cloud.common.util.alipay;


/**
 * 支付宝支付配置相关
 */
public class AlipayConfig {
    /**
     * 沙盒模式
     */
//	public static final String APPID = "2016092000555616";
//	public static final String SERVER_URL = "https://openapi.alipaydev.com/gateway.do";
//	public static final String RSA_PRIVATE_KEY = "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDN12+u+XGvSTcTyFgkAZywxtzAtQBACwNYDjZCg7jL2SXHKlIJHmaezix+T2X3sQMKcvyj+KKvthHmfmo+Gn7ffveYKGuRJdKRBrhTFrkoggYOEwqZgSo8yC2tBxKGy3R0m9bFb2ZB+UGw+u16biyJRbSbm36PWHnKn2YNosagV/46S3zLMby0aNIVLSVKXwogevYYxL41+WKr2F+nDhOq081nfm2aaL+olrKHM8aUHBdCDy85zHDqDgf+cgdBblVN3tqRpNQquNWDWPp+LNItkc4GkHqh3OqXYEY15ZRAnQVcozBSoJ70bMx06662vDNjlDTr8I6QI/ZSkLVLmLIXAgMBAAECggEBALf7NF7PpBZJOYpcCrP8IOI8jLlNzrBvZ4jAAy2GcJj7OPIAWJy/6HdOzqQDMZ+nPpGLX1br9/VXpj4/hZSGuBnpcUI19pcgmEl6GSxi5hJXzTOtP08fDPKQ9YpvBNcoaKmFVPzZaivTryyRy8sfSH1VqW1gGUnkic9ak6vibuiGw1/YVhPhCHEeEYfrQEsmgtCtt10s9Tw5Lcoy6yC56+PtXV59EmL9cSfjtpSKsT4ffosBzNUlgo86NazX/IbpTK8i8Xfulb1oKTL4zJUOKKcJEb4z3aKLoAJ7FzVyPReXHQ2cXr2Lfk2sToThhJIF5lmrSNCc7EmXzJFxnp676gECgYEA5bacUpKTB3GbPeY6tTIMaKU6R1HjzuRW7K5vOZMwSbTrAAWuxMXPT3Aqbf3O3cQi+rTeI0CRZOH1U6sae0HPKC0IoiyfPtj9zx6NzW9Dd8E9Zf02PnEbiFrljJu3vKh2/SvtcMEHJMe6XCIUt/pg098MLuECMDPJmXM/iRBczwECgYEA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jtIya6l/Ke70dr7KB0zBtaoTUWcTEZ6LkLbipAfewIDAQAB";

    /**
     * 支付宝网关
     */
    public static final String SERVER_URL = "https://openapi.alipay.com/gateway.do";
    /**
     * 商户appid
     */
    public static final String APPID = "2021003146627058";
    /**
     * 商户私钥，您的PKCS8格式RSA2私钥
     */
    public static final String RSA_PRIVATE_KEY = "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCg0GEkxg/DtIaVSg81sWtUNAgV7Ix0pz07wiMPYr8HpcsSE7ikW3uJK9av2PL6SyD5sNmLv7nOtYpnbCEKNapGHjTojSHcNW+3t+yPIdWKGiZUOiihuB40r/rXmCR2K8xgO/RtFMocrcMku4qZxs/L0q4VaboiCFtqa3k99d45HhW0TSDYxqRfHM4OoaCJknGD/D+D1FgioLPEuBeV5RSQdDNZwVhx3tokdH5xStVfP5RxS12gRTcjRo9aKT/tF71lmT4elTYVqQi8ivrc6csCWGuluctZ5498QKIfxqtTJlEkx3ZCwnVwl3F+m/5GbB1n5xP8DVWdLDhiX+PxelqrAgMBAAECggEAL81hYwYA/6K08sGd/c7sYY5J7QJwyehAmnfd5h/rOwG8eHYmR6zt7tt6KLFroJ0egzpfoFvwhpKOPqn0tE05fThTb+Er9IJp4AmrJuzexft580WKeG/7gpvhC58tD3d7fAu2X4pzfczlGhEpZQalFChfGPxhmOY1DlA+LP3d/coLyz/oPr76lLSHLKaj6OE6SOaPzJpCHLNk/+D9DCCVgXe41vP9NzUqj2KeHnA0+Db9l+zZDSxeF7df4wSBwK8DgMTUxLM0VWnqmoStL1YxIu+rV2ilwrEKU9Oew1CGCOsRB8AnNKK5gvAznWWCO34c1R6I4PZbbRVsH3sA0IHFkQKBgQDWA/uB5nUeAKC9UoVAaF8x7G/03H5LksXCBnIRCruG96rTPCQCN76smKMR3CpjFpzNuJk0LvuWU6c5Jc7Y59XlUZH5GIxhNG/og5W0QD7ylmxZEBmWyKk27nrgoDbyNRQn3AYa0+GX+ZJpij+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AbuGCkd3b1pfwyZG7x8/pXDlX5ZwWb9yEahIS/2W84Qn3dwFHBlE/8lKoBWoBLUmG5to8V/MSTHfvGpjk9S1mXg+QIDAQAB";
    /**
     * 商户appid(合肥叮叮书房文化科技有限公司)
     */
    public static final String SF_APPID = "2021003196663997";
    /**
     * 商户私钥，您的PKCS8格式RSA2私钥(合肥叮叮书房文化科技有限公司)
     */
    public static final String SF_RSA_PRIVATE_KEY = "MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDQd/ZdukxL4ZcdAXAQTt3u+RDq6THPbt/zztDRS03uoYh1e+tYqAEZbjGZWDffmgGD6xYSn69oGdMyaZUScM39ZVLCyZZL6PEOpkc7KYNgABRfRNm5O6CZKAXuZnOwgdmEs4CsUy0R53XGzTXwXfSHhprOsv7i9oldYwD9JTUNbWgPUs/rGztVw4nIXBRZLnyipcB51CoX44KVcd0jbQ4PteVvTgx9y5G30GDVeOOTyRzgz6NL2mfmvDdBSnSVa8aei6DtqjcjvFNYqaUzOJvQTjOvAzLnTLjCDdz4IJE6ZZbEmpKNGR5MLswrT7kKsamxq8oMnN5dmPtt9S30Hn3RAgMBAAECggEBAM1QKKrczUG6lxpxDQ5yri8qy5egPXdfal9zo8NNWB6apouWlQ4GwLZsCZtOABFPWwiyYlXLQXTUYmV3CONVh/p1bRH8efKfI7Ja3zKMSyAkU+wUIh5FdIECovzNmEkRScphA2w0quHERQGbn/Dwh+FmF1dVgKTFTDpWRGYM2/gwrjsVruPkHN4Ub75CcaKsfHm8amHmBshYGNsQG2WecKKKCvse96mt48vxiJIK8EOrR1ZJWuGMP9VGIe6knvWywn6qjUdZw1rtqNLqA9IEnNHX6cZ46PiJVunJM4jUKcx7buxbAYOmFUzD14HS860cP3AL91z1wIssoQsYYWW2FOUCgYEA6y2RheTHV703sigiJrMA0ZKvEjf/hxxWGyUYZajyb6n2vDGjPS5xQJjn+5mh5NxXeriP8tbTJKbzAfOLYrKHn26LvP/kAjjZZ+2JPgY29Dm0X9VtUGFk642ZHinTG0NdtgA1PlbADiO5BXuFmhkvK3+R3GScZrJm+iHWhKrU+scCgYEA4u0C8zrC3GuTdETpQHKUzy6QPplGvP/lVqQqFZjYVOpPpw+QZEJNPgguFX2R7xFBw9kansq98AUS9pxHhoQOUTdE/HXV3tkCtLbJc9kHIfTX6pUzeiJcJB3F0lbjgCfVkZwuuvyKsVSGNgkqphyywXpC3LR0j5LOa5PQx01j6qcCgYEApY3rjn0R03MRXSoheGq0ndOLyOCA0mUhPHStqwr2t6LHXY334x7pfNbnH9fz/r8aGfsI4qNV+cxI70u6CJ2zGYnhdwgQQ3wvl5jA71fCocRpdLky/c3CFIwWiQRaZyvSMUgOMzcwdgOxwOlGkMc/zHg+fw6Yhzb5hQYDFFuKGIsCgYATuCLcfgu22cZLgT1/szVJN7OjLPCfteD5AXUCwXBzGJVpYAndHIHX1SAkD/BhhO9hFHmiuN1+gQJf2b7BarJPzmy5P4ghQFxi1ct1vLNI+RzWLrb1cwzsuoWZPKGyXkPJznelGhL3S/AJvAwvuSizdWtgAHJsk4ZKhOLMnuYC2wKBgQDm2YHO2zKE9AzbFR1rSUDbxvXnMtUcLn3rlN1EuX/CY6IvwOGyIUbYB4IF87xqbf9Z2Onuv3xUD89fz4Z1QG16ol+2rcGmYJcslri/oOiYusShWdXnqpdUUW+9er8JH2NjuHrq3zo9XHv3HOKVfVhziYLwkXBsPjZ9+5id45n2Yw==";
    /**
     * 支付宝公钥(合肥叮叮书房文化科技有限公司)
     */
    public static final String SF_ALIPAY_PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAsEfCl4eA9gza946H/cYaHVeYySXeutGebJ7+SLLRJSEwshw7usmR3ARIhO4TSHxol2s6rFBVhP511Ey4Hvq1lIXOSNqT0HAAhPvKlBDlhE9h5LEn1S5FbcFxaw5b59+LuotLDoAMU0mwtET9oLV6Tcd6mtekqRnBWCCAAFyR6ZdzD62YWZ83857EgwSb4t8vkCKH7yUynSXfe9+UYVW5L6WuQ6ALvkGeTM8acmb8qpvPnBcWhHKxTnm6NAPZX4sSzD4Tp8L4EcLyRUzewibDTXaMRkN29Sx4AwOL2BxEkCMYe8gwTvBY6w7wcvm5onNsHIUiJKeIVmx1N5RFcK7khwIDAQAB";

    /**
     * 服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
     */
    /**
     * 支付成功后回调地址
     */
    public static String getNotifyUrl(String notifyUrl) {
        return notifyUrl + "/payCallback/alipay/notifyUrl";
    }

    /**
     * 扫码支付回调地址
     */
    public static String getScanNotifyUrl(String notifyUrl) {
        return notifyUrl + "/payCallback/alipay/scanNotify";
    }

    /**
     * 页面跳转同步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问 商户可以自定义同步跳转地址
     */
    public static String getReturnUrl(String notifyUrl) {
        return notifyUrl + "/mall/paysuccess";
    }
    /**
     * 字符编码格式
     */
    public static final String CHARSET = "UTF-8";
    /**
     * 返回格式
     */
    public static final String FORMAT = "json";
    /**
     * 签名方式
     */
    public static final String SIGNTYPE = "RSA2";

    /**
     * APP-服务器异步通知页面路径 需http://或者https://格式的完整路径，不能加?id=123这类自定义参数，必须外网可以正常访问
     */
    public static final String APP_NOTIFY_URL = "/api/aliPay/notify_url";
}
